package cn.xawl.common.constant;

/**
 * @author lh
 * @date 2020/06/23 17:28:21
 **/
public class ProductConstant {
    public enum AttrTypeEnum{
        ATTR_SALE_TYPE(0), ATTR_BASE_TYPE(1);


        private int type;
        AttrTypeEnum(int type) {
            this.type = type;
        }


        public int getType() {
            return type;
        }
    }

    public enum SpuStatus {
        NEW(0, "新建"),UP(1, "上架"), DOWN(2, "下架");
        private int code;
        private String status;

        SpuStatus(int code, String status) {
            this.code = code;
            this.status = status;
        }

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }
    }
}
